package cn.HRMS.modle;

/**
 * RewardAndPunishment entity. @author MyEclipse Persistence Tools
 */

public class RewardAndPunishment implements java.io.Serializable {

	// Fields

	private Long rapId;
	private Salary salary;
	private Double reward;
	private Double punishment;
	private String note;
	private String reason;

	// Constructors

	/** default constructor */
	public RewardAndPunishment() {
	}

	/** minimal constructor */
	public RewardAndPunishment(Salary salary, Double reward, Double punishment) {
		this.salary = salary;
		this.reward = reward;
		this.punishment = punishment;
	}

	/** full constructor */
	public RewardAndPunishment(Salary salary, Double reward, Double punishment,
			String note, String reason) {
		this.salary = salary;
		this.reward = reward;
		this.punishment = punishment;
		this.note = note;
		this.reason = reason;
	}

	// Property accessors

	public Long getRapId() {
		return this.rapId;
	}

	public void setRapId(Long rapId) {
		this.rapId = rapId;
	}

	public Salary getSalary() {
		return this.salary;
	}

	public void setSalary(Salary salary) {
		this.salary = salary;
	}

	public Double getReward() {
		return this.reward;
	}

	public void setReward(Double reward) {
		this.reward = reward;
	}

	public Double getPunishment() {
		return this.punishment;
	}

	public void setPunishment(Double punishment) {
		this.punishment = punishment;
	}

	public String getNote() {
		return this.note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public String getReason() {
		return this.reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

}